.. _CLUAConsole Functions: ========================= C (CLUAConsole) Functions ========================= .. toctree:: :maxdepth: 1 :hidden: :glob: C_* .. note:: CLUAConsole functions are accessed via the ``C:`` prefix +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | **Function** | **Description** | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:AddGold` | Adds gold to the party | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:AddSpell` | Adds a spell to the specified character | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:AdvanceRealTime` | Advance time | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:CreateCreature` | Creates the creature specified | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:CreateEngine` | Unknown | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:CreateItem` | Create an item | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:CreateVEFVidCell` | Create VEFVidCell | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:DisplayAllBAMFiles` | Display all BAM files | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:DisplayText` | Displays the specified text on screen | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:EnableCheatKeys` | Enable cheat keys | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:Eval` | Evaluate a string containing script actions for a character | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:Exec` | Execute console commands contained in the specified file | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:ExploreArea` | Reveals the entire map for the current area | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:GetGlobal` | Gets a global variable value for an area | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:LogMessages` | Enables or disables logging output to console | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:LogSet` | Sets logging to a file instead of to console if logging is enabled | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:MoveToArea` | Move the selected characters to the area specified | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:PickDialog` | Unknown | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:PlayMovie` | Plays the specified movie | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:PlaySound` | Plays the specified sound | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:ResetAchievements` | Reset achievements - applies to Steam installation only | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:SetCurrentXP` | Sets the experience points (XP) of the selected character | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:SetGlobal` | Set a global variable to the specified value | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:SetWaterAlpha` | Sets the alpha blend level for water transparency | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:SetWeather` | Sets the current weather | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:StartStore` | Starts the specified store | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:StrrefOff` | Strings are not displayed with their associated string reference (StrRef) | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:StrrefOn` | Strings are displayed with their associated string reference (StrRef) | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:TestAllDialog` | Lists all dialog file in the game, and checks for errors | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:WorkshopUpload` | Upload a module to the Steam Workshop - applies to Steam installation only | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:WriteScript` | Output scripts to directory | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ | :ref:`C\:new` | Create a new instance of the CLUAConsole | +----------------------------------------------------+---------------------------------------------------------------------------------------------+ :: C = CLUAConsole:new()